<page-header [content]="content">
    <ng-template #content>
        <nz-row [nzGutter]="24">
            <nz-col [nzSpan]="4">
                <nz-statistic [nzValue]="4826 | number" [nzTitle]="'销售数量'"></nz-statistic>
            </nz-col>
            <nz-col [nzSpan]="4">
                <nz-statistic [nzValue]="303331.18 | number: '1.0-2'" [nzTitle]="'总销售额 (CNY)'"></nz-statistic>
            </nz-col>
            <nz-col [nzSpan]="4">
                <nz-statistic [nzValue]="110176.38 | number: '1.0-2'" [nzTitle]="'总利润 (CNY)'"></nz-statistic>
            </nz-col>
        </nz-row>
    </ng-template>
</page-header>
<nz-card [nzTitle]="phActionTpl" [nzExtra]="search">
    <ng-template #phActionTpl>
        <nz-button-group>
            <button nz-button
                    (click)="export()">
                <i nz-icon
                   nzType="download"></i>导出
            </button>
        </nz-button-group>
    </ng-template>
    <ng-template #search>
        <sf mode="search" [schema]="searchSchema" (formSubmit)="st.reset($event)" (formReset)="st.reset($event)"></sf>
    </ng-template>

    <st bordered #st [data]="url" [columns]="columns" [req]="{params:{type:0}}"></st>
</nz-card>
